package com.hzspace.visibility;

/**
 * @Author: LiuHao
 * @Descirption:
 * @Date: 2019/6/14_15:56
 */
public class ReaderThread extends Thread {

    @Override
    public void run() {
        while(Visibility1.ready){
            Thread.yield();
            System.out.println(Visibility1.number);
        }
    }
}
